<div class="modal-header" id="scope">
	<h3 class="modal-title">批量导入用户</h3>
</div>
<div class="modal-body">
	<form name="myForm" class="form-horizontal form-validation">
		<div class="panel panel-default">
			<div class="panel-body">
				<div class="form-group"  ng-hide="param.data.filePath != null">
					<label class="col-sm-3 control-label">上传excel文件</label>
					<div class="col-sm-7">
						<input type="file" class="form-control" placeholder="选择要上传的excel文件" ng-value="fileToUpload" value="{{fileToUpload}}" file-model="fileToUpload"
						set-file-data="fileToUpload = value;">
						<button type="button" class="btn btn-default" ng-click="upload()">上传</button>
						<span class="help-block m-b-none">文件名后缀为.xls或.xlsx的excel文档，每次导入最多50条数据，且文件大小不能超过5MB。<a href="" ng-click="example()" >点击下载示例xlsx文件</a></span>
					</div>
				</div>

				<div class="form-group" ng-show="param.data.filePath != null">
					<label class="col-sm-3 control-label">excel文件</label>
					<div class="col-sm-7">
						<input type="text" class="form-control" placeholder="excel文件" ng-value="param.data.fileName" ng-readonly="true"/>
					</div>
				</div>
			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button class="btn btn-default" type="button" ng-click="cancel()">取消</button>
				<button type="submit" class="btn btn-success" ng-click="ok()" ng-disabled="submitting">提交</button>
			</footer>
		</div>
	</form>
</div>